﻿using System;
using System.Data;
using System.Collections.Generic;
using NewsExtractor;

namespace NewsExtractorWeb
{
    public static class BaoManager
    {
       public static List<ToBaoInterface> _listBao = new List<ToBaoInterface>();
       public static ToBaoInterface _getBao(string nameBao)
       {
           foreach (ToBaoInterface item in _listBao)
               if (item.getName() == nameBao)
                   return item;
           return null;
       }
    }
}
